﻿using Hicap.QRCodeWarehouse.Processor.Model;
using MongoDB.Driver;
using System.Threading.Tasks;

namespace Hicap.QRCodeWarehouse.Processor.Manager
{
    public interface IMonitorManager : IManagerBase
    {
        Task<WarhouseMonitor> GetWarhouseMonitorAsync(int productId);

        Task UpsertAsync(WarhouseMonitor monitor, IClientSessionHandle clientSession);

        int GetWarhouseMonitorMinTaskId();

        Task<MonitorFeedback[]> GetMonitorInfos(int type);
    }
}